const fs = require('fs')
const path = require('path')
const writeStream = fs.createWriteStream(path.resolve(__dirname,'../logs/access.log'),{flags:'a'})
writeStream.write('写入的---'+new Date()+'\n',()=>{
    console.log('完成了');
})